﻿using System;

namespace JoceLinItemDemo.Service
{
    public class Record
    {
        public record Data (int intValue,float floatValue); 
        
        public void GetValue()
        {
            var data = (ValueA: 1, ValueB: 2f);
            Console.WriteLine(data.ValueA);
            Console.WriteLine(data.ValueB);

            Data dataValue = new Data(1,2f);
            int a = dataValue.intValue;
            float b = dataValue.floatValue;
            Console.WriteLine(a);
            Console.WriteLine(a);
        }
    }
}
